package com.android.lj.app.net;

import android.app.Activity;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;

public class NetSpeedUtil {

	private NetSpeedUtil(){}

	public static String getInSpeed(Activity activity) {

		   Context context = activity.getApplicationContext();  
		   ConnectivityManager connectivity = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
		   
		   NetworkInfo netInfo = connectivity.getActiveNetworkInfo();
		   
		   if(netInfo != null) {
		   }
		   
		   return "";
	}
}
